#ifndef PARAFLUIDMESH_H
#define PARAFLUIDMESH_H

#include "parafluidtriangle.h"

#include <QString>
#include <QVector>

namespace ParaFluid
{
	
	/**
	* Mesh
	*/
	class Mesh
	{
		
	public:
		
		/**
		* Destructor
		*/
		~Mesh();
		
		/**
		* Default Constructor
		*/
		Mesh();
		
		/**
		* Constructor with .obj file
		*/
		Mesh(const QString & objFile);
		
		/**
		* Copy Constructor
		*/
		Mesh(const Mesh & other);
		
		/**
		* Assignment Operator
		*/
		Mesh & operator= (const Mesh & rhs);
		
		/**
		* Triangles
		*/
		QVector<Triangle> triangles;
		
	private:
		
		/**
		* Load .obj File
		*/
		void loadFile(const QString & objFile);
		
	};
	
	
}

#endif
